package com.aaa.service.impl;

import com.aaa.dao.MtypeDao;
import com.aaa.entity.Mtype;
import com.aaa.service.MtypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MtypeServieImpl implements MtypeService {
    @Autowired
    private MtypeDao mtypeDao;
    public List<Mtype> listAll() {
        return mtypeDao.listAll();
    }
}
